 {% for item in categorys %}
          
						<tr data-tt-id="{{item.id}}" data-tt-parent-id="{{'0' if item.pid==0 else item.pid}}" data-tt-branch="{{'true' if item.hasChildren else 'false'}}">
          
         
           <td>
								{{item.id}}
							</td>
							<td>
								{{item.name}}
							</td>
							<td class="img">
								<img src='{{item.icon_url}}' onclick="sublime.picture('{{item.icon_url}}')">
								
							</td>
							
							<td class="img">
								<img src='{{item.img_url}}' onclick="sublime.picture('{{item.img_url}}')">
								
							</td>
							<td>
								{{item.keywords}}
							</td>
							<td>
								{{item.digest}}
							</td>
							<td>
								{{item.level}}
							</td>
           
            <td>
              <div class="btn-group">
                <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                  <i class="ti-settings"></i>
                  <span class="ti-angle-down"></span>
                </button>
                <ul class="dropdown-menu" role="menu">
                 
                  <li><a href="/store/category/edit?id={{item.id}}" data-pjax>编辑</a></li>
                  <li><a href="javascript:;" onclick="del({{item.id}})">删除</a></li>
                  <li class="divider"></li>
                  <li><a href="/store/category/add?pid={{item.id}}" data-pjax>添加子分类</a></li>
                  
                </ul>
              </div>
            </td>
          </tr>
          {% endfor %}